

#define  OS_ENTER_CRITICAL()  {cpu_sr = OS_CPU_SR_Save();}
#define  OS_EXIT_CRITICAL()   {OS_CPU_SR_Restore(cpu_sr);}

unsigned int  OS_CPU_SR_Save(void);
void  OS_CPU_SR_Restore(unsigned int  cpu_sr);
